package com.geecity.flowable.flowabledemo.service;

import com.geecity.flowable.flowabledemo.entity.R;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;

/**
 * @author yuanDing
 * @version 1.0
 * @date 2025-07-09 10:01
 */

public interface DispatchService {
    R dispatch(String cangKuUuid, MultipartFile file);
    void deployment(String cangKuUuid, String jarName, HttpServletResponse response);
    R deploymentMessageList(String cangKuUuid);
    /**
     * 停止服务
     * @param cangKuUuid 仓库UUID
     * @param jarName 服务包名
     * @return 操作结果
     */
    R stopService(String cangKuUuid, String jarName);

    R dispatchInner(String cangKuUuid, String upgradePackageName);

    R upgradeList(String cangKuUuid);
}
